package com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.repository;

import com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.entity.PersonnelManagement;

import java.util.List;
import java.util.Map;

public interface PersonnelManagementRepository {
    void save(PersonnelManagement param);

    void updateById(PersonnelManagement param);

    void deleteById(List<String> ids);

    void batchSave(List<PersonnelManagement> list);

    Map<String, Object> getPage(PersonnelManagement queParams, int curPage, int pageSize);

    PersonnelManagement findById(String id);

    void updateXsemId(String xsemId, String convertedXsemId);

    PersonnelManagement findByXsemIdAndTel(String tel, String xsemId);

    Integer countByXsemId(String xsemId);

    PersonnelManagement findByXsemIdAndTelAndName(String tel, String name, String xsemId);
}
